import Vue from 'vue'
import router from "./Router";
import vueJustgage from 'vue-justgage';
import VueAwesomeSwiper from 'vue-awesome-swiper'
import App from './App.vue';
import Chart from './Chart.vue';
import layer from 'vue-layer';
import global_ from './Global.vue';
import Element from 'element-ui';
import wx from 'weixin-js-sdk';
import axios from 'axios';
import VueCookies from 'vue-cookies'
import VueVideoPlayer from 'vue-video-player'

import 'vue-layer/lib/vue-layer.css';
import 'swiper/dist/css/swiper.css';
import 'element-ui/lib/theme-chalk/index.css'
import 'video.js/dist/video-js.css'

Vue.prototype.$GLOBAL = global_//挂载到Vue实例上面
Vue.prototype.$layer = layer(Vue);
Vue.use(VueAwesomeSwiper, /* { default global options } */);
Vue.use(vueJustgage);
Vue.use(Element);
Vue.use(VueVideoPlayer);
Vue.use(VueCookies)

new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
